package com.buba.springboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data

public class user implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty
    private String usercode;
    @ApiModelProperty
    private String username;
    @ApiModelProperty
    private String password;
    @ApiModelProperty
    private Integer role;
    @ApiModelProperty
    private String createdby;
    @ApiModelProperty
    private LocalDateTime creationdate;
    @ApiModelProperty
    private String address;
    @ApiModelProperty
    private String email;
    @ApiModelProperty
    private Integer delete_flag;
}
